<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Session Login</title>
</head>
<body>
<%
	session.setAttribute("id", request.getParameter("id"));
	session.setAttribute("name", request.getParameter("name"));
	session.setAttribute("age", request.getParameter("age"));
%>

<center>
<h3>로그인되었습니다.</h3>
<h3>로그인 아이디: <%=(String)session.getAttribute("id") %></h3>
<h3>사용자 이름: <%=(String)session.getAttribute("name") %></h3>
<h3>사용자 나이: <%=(String)session.getAttribute("age") %></h3>
<a href="sessionLogout.jsp">로그아웃</a>
</center>

</body>
</html>